import {  Table } from 'antd';
import getdataMobox from '../Mobox/tongxunldata'
import React from 'react';
import { Observer } from 'mobx-react-lite';
const columns = [
  {
    title: '真实姓名',
    dataIndex: 'user_name',
    key: 'user_name',
  },
  {
    title: '性别',
    dataIndex: 'sex',
    key: 'sex',
  },
  {
    title: '电话号码',
    dataIndex: 'phone_number',
    key: 'phone_number',
  },
  {
    title: '电子邮箱',
    key: 'Emal',
    dataIndex: 'Emal',
  },
  {
    title: '部门',
    key: 'department',
    dataIndex: 'department',
  },
  {
    title: '生日',
    key: 'start_time',
    dataIndex: 'start_time',
  },
  {
    title: '入职时间',
    key: 'imthetime',
    dataIndex: 'imthetime',
  },
 
];
const data = [
  {
    key: '1',
    user_name: 'John Brown',
    sex:'男',
    phone_number: '12346879',
    Emal:'748454@qq.com',
    department:'业务一部',
    start_time:'1974-7-13',
    imthetime:'2010-01-01',
   
  },
  {
    key: '2',
    user_name: 'John Brown',
    sex:'男',
    phone_number: '12346879',
    Emal:'748454@qq.com',
    department:'业务一部',
    start_time:'1974-7-13',
    imthetime:'2010-01-01',
   
  },
  {
    key: '3',
    user_name: 'John Brown',
    sex:'男',
    phone_number: '12346879',
    Emal:'748454@qq.com',
    department:'业务一部',
    start_time:'1974-7-13',
    imthetime:'2010-01-01',
   
  },
  {
    key: '4',
    user_name: 'John Brown',
    sex:'男',
    phone_number: '12346879',
    Emal:'748454@qq.com',
    department:'业务一部',
    start_time:'1974-7-13',
    imthetime:'2010-01-01',
   
  },
  {
    key: '5',
    user_name: 'John Brown',
    sex:'男',
    phone_number: '12346879',
    Emal:'748454@qq.com',
    department:'业务一部',
    start_time:'1974-7-13',
    imthetime:'2010-01-01',
   
  },
  {
    key: '6',
    user_name: 'John Brown',
    sex:'男',
    phone_number: '12346879',
    Emal:'748454@qq.com',
    department:'业务一部',
    start_time:'1974-7-13',
    imthetime:'2010-01-01',
    
  },
];

const Conbiaoge = (props) => 
<Table columns={columns} dataSource={getdataMobox.searchdata} />;
export default Conbiaoge;